import request from '@/utils/request';

// post请求
export function post(data) {
  return request({
    url: '/post',
    method: 'post',
    data
  })
}

// get请求
export function get(params) {
  return request({
    url: '/get',
    method: 'get',
    params
  })
}

export default {
  post,
  get
}
